﻿@model LoginModel

@{
    Layout = null;
}

<!DOCTYPE html>

<html lang="zh-cn">
<head>
    <title>密钥分发管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
</head>
<body>
<div class="bg-dark text-white p-2">
    <span class="navbar-brand ml-2">密钥分发管理系统登录页</span>
</div>
<div class="m-1 p-1">
    <div class="text-danger" asp-validation-summary="All"></div>
    <form asp-action="Login" asp-controller="Account" method="Post">
        <input type="hidden" asp-for="ReturnUrl"/>
        <div class="form-group">
            <label asp-for="Name"></label>
            <div asp-validation-for="Name" class="text-danger">
            </div>
            <input asp-for="Name" class="form-control"/>
        </div>
        <div class="form-group">
            <label asp-for="Password"></label>
            <div asp-validation-for="Password" class="text-danger"></div>
            <input asp-for="Password" class="form-control"/>
        </div>
        <button class="btn btn-primary" type="submit">Log In</button>
    </form>
</div>
</body>
</html>